<html>
  <head>
    <title>Tutor Registration</title>	
    <link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
    <script language="JavaScript">
	function ShowTheForm() {  // from can be made hidden when embedded in div
	    var tutorFrm = document.getElementById("divFormLogIn").hidden = false;
	}

	function SubmitRegTutorForm() {
	    var frmTutorReg = document.getElementById("frmTutorReg");
	    frmTutorReg.Submit();	    
	    // document.location="/tutor_panel.html";		
	}
	
	function SubmitUnRegTutorForm() {
	    var frmTutorUnReg = document.getElementById("frmTutorUnReg");
	    frmTutorUnReg.Submit();	    
	}
	
    </script>	
</head>
<body>
  <h2>Tutor Registration</h2>
  <hr>
<div style="color:blue; text-decoration:underline; cursor:hand;" onClick="ShowTheForm();">Make me Tutor</div>

<div id="divFormLogIn" hidden="true">
<br>
<form id="frmTutorReg" name="frmTutorReg" method="post" action="/tutor_registration">
     <td><a href="{{ url }}">{{ url_linktext }}</a></td></tr>
    <!-- tr><td>{{ user_current }}</a></td></tr -->
    <input id="BtnRegTutor" name="BtnRegTutor"  onClick="SubmitRegTutorForm();" type="button"  value="Make me Tutor">
</form>
<hr></div>
<br>
In order to log in to use feautures of this application<br>
you need to have a <a href="http://www.google.com">google account</a>.<br>
You have to be approved to use the full feautures of the application.<br>
You will be notified when the approval has been taken place.<br>
<hr>
<br>
<div>
<!-- form id="frmTutorUnReg" name="frmTutorUnReg" method="post" action="/tutor_unregistration">
When you want to delete your tutor account then click the button below.<br>
<input id="BtnUnRegTutor" name="BtnUnRegTutor"  onClick="SubmitUnRegTutorForm();" type="button"  value="Remove me as Tutor">
</form-- >
</div>
<hr>
</body>
</html>

